import { http } from '@/utils/http'
import { CategoryTopItem } from '@/types/category'

/**
 * 分类列表
 * @returns
 */
export const getCategoryTop = () => http<CategoryTopItem[]>({ url: '/category/top' })
